Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add POC engine UX #6803

Merged
merged 40 commits into from
Aug 23, 2024
Merged

Add POC engine UX #6803

merged 40 commits into from
Aug 23, 2024

Conversation

JuanGarriuz
Copy link
Member

@JuanGarriuz JuanGarriuz commented Jun 27, 2024

Description

A new plugin has been added to the platform, which is visible in Server Management > Engine.
Within this new plugin, the following views have been added:

  • Decoders
  • Rules
  • Outputs
  • Filters
  • Policies
  • Integrations
  • KVDBs

Each of these views comes with the respective functionalities described in the engine user manual.

Issues Resolved

Evidence

image
image

Test

[Provide instructions to test this PR]

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@JuanGarriuz JuanGarriuz linked an issue Jun 27, 2024 that may be closed by this pull request
5 tasks
JuanGarriuz and others added 5 commits June 28, 2024 14:07
- List rules
- Rule detail on flyout with tabs:
  - Table
  - JSON
  - Relationship (visualization)
  - Events
- Import file
- Create new rule
  - Visual editor (form)
  - File editor
- Adapt components from main to support the required use cases
- Add plugin dependencies to engine plugin
- Enhance DocViewer component
- Create component to fetch and display data from indexer
@asteriscos asteriscos changed the base branch from master to enhancement/5.0-poc-integration-branch July 9, 2024 12:35
Desvelao and others added 22 commits July 9, 2024 15:01
- fix bugs on TableIndexer component
- replace icon on export formatted button of TableIndexer component
- rename rule creation endpoint path from new to create
- add spec merge for rule asset
- move rule detail flyout to another component
- enhance the form to create rule asset
- create withGuard, withGuardAsync and withDataSourceFetch HOCs
- add component to edit the rule asset
- enhance render of rule and parents on Rule asset list
- enhance utils to transform the spec
- Create component to select the configuration method
  - Replace the creator with configuration method switch
- Create paths for editors or rules and outputs
- Enhance spec of rule and outputs
- Enhance render of arrayOf form fields on form editor
@asteriscos asteriscos marked this pull request as ready for review August 20, 2024 12:33
@asteriscos asteriscos changed the base branch from enhancement/5.0-poc-integration-branch to master August 23, 2024 08:55
Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 46.02% ( 400 / 869 )
Branches 41.97% ( 157 / 374 )
Functions 44.01% ( 136 / 309 )
Lines 46.22% ( 398 / 861 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 13.51% ( 4035 / 29849 )
Branches 9.02% ( 1755 / 19456 )
Functions 13.08% ( 947 / 7240 )
Lines 13.69% ( 3933 / 28727 )

Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🟢

Peek 2024-08-23 12-51

@asteriscos asteriscos merged commit 0cf78ba into master Aug 23, 2024
5 checks passed
@asteriscos asteriscos deleted the enhancement/wd-216-poc-engine branch August 23, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

POC engine UX - security policy management
3 participants